<template>
  <div class="app">
    <h2>我是App组件</h2>
    <Child1/>
    <br>
    <Child2/>
  </div>
</template>

<script>
  import Child1 from './components/Child1'
  import Child2 from './components/Child2'

  export default {
    name:'App',
    components:{Child1,Child2}
  }
</script>

<style>
  .app {
    background-color: gray;
    padding: 20px;
  }
</style>